package com.ecoolex.ying.space.core.mapper;

import com.ecoolex.framework.common.annotation.Description;
import com.ecoolex.ying.space.entity.EstateProjectActivityGoodsOrder;
import com.ecoolex.ying.space.entity.EstateProjectActivityGoodsOrderExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.springframework.lang.NonNull;

public interface EstateProjectActivityGoodsOrderMapper {
    long countByExample(EstateProjectActivityGoodsOrderExample example);

    int deleteByExample(EstateProjectActivityGoodsOrderExample example);

    int deleteByPrimaryKey(Integer orderId);

    int insert(EstateProjectActivityGoodsOrder record);

    int insertSelective(@Param("record") EstateProjectActivityGoodsOrder record, @Param("selective") EstateProjectActivityGoodsOrder.Column ... selective);

    EstateProjectActivityGoodsOrder selectOneByExample(EstateProjectActivityGoodsOrderExample example);

    List<EstateProjectActivityGoodsOrder> selectByExample(EstateProjectActivityGoodsOrderExample example);

    EstateProjectActivityGoodsOrder selectByPrimaryKey(Integer orderId);

    EstateProjectActivityGoodsOrder selectByPrimaryKeyWithLogicalDelete(@Param("orderId") Integer orderId, @Param("andLogicalDeleted") boolean andLogicalDeleted);

    int updateByExampleSelective(@Param("record") EstateProjectActivityGoodsOrder record, @Param("example") EstateProjectActivityGoodsOrderExample example, @Param("selective") EstateProjectActivityGoodsOrder.Column ... selective);

    int updateByExample(@Param("record") EstateProjectActivityGoodsOrder record, @Param("example") EstateProjectActivityGoodsOrderExample example);

    int updateByPrimaryKeySelective(@Param("record") EstateProjectActivityGoodsOrder record, @Param("selective") EstateProjectActivityGoodsOrder.Column ... selective);

    int updateByPrimaryKey(EstateProjectActivityGoodsOrder record);

    int batchInsert(@Param("list") List<EstateProjectActivityGoodsOrder> list);

    int batchInsertSelective(@Param("list") List<EstateProjectActivityGoodsOrder> list, @Param("selective") EstateProjectActivityGoodsOrder.Column ... selective);

    int logicalDeleteByExample(@Param("example") EstateProjectActivityGoodsOrderExample example);

    int logicalDeleteByPrimaryKey(Integer orderId);
}